<?php
/*
 * @Author: zwx
 * @Date: 2024-07-07 13:58:44
 * @LastEditors: zwx
 * @LastEditTime: 2024-07-07 13:59:09
 * @Description: 课程管理
 */


namespace app\apiadmin\controller\live;

use app\apiadmin\service\course\CourseService;
use app\common\controller\BaseController;
use app\Request;

class Course extends BaseController
{

    /**
     * @author: zwx
     * @Description: 获取课程列表数据
     * @Date: 2024-05-12 11:00:52
     */
    public function getCourseData()
    {

        $param = $this->request->post();

        //发送人信息
        $uid = $this->request->uid;

        //邀约计划
        $result = CourseService::getCourseData($param,$uid);

        return $result;
    }

    public function updateCourseFee(){
        $param = $this->request->post();
        //发送人信息
        $uid = $this->request->uid;

        $result = CourseService::updateCourseFee($param,$uid);

        return $result;
    }

}